<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/commond/taglibs.jsp"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>档期网</title>
<link rel="shortcut icon" href="${ctx }/image/logo_ico.ico" />
<s:include value="/commond/keydesc.jsp"></s:include>
	<!-- CSS -->
<link href="${ctx}/css/head/head.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/main.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/control/control.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/right/choose.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/right/connect_right.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/invite/invite_nav.css" rel="stylesheet" type="text/css" />
<!-- JavaScript -->
<script type="text/javascript" src="${ctx}/js/common/jquery.js"></script>
<script type="text/javascript">var jQ = jQuery.noConflict();</script>
<script type="text/javascript" src="${ctx}/js/common/common.js"></script>
<script type="text/javascript" src="${ctx}/js/control/control.js"></script>
<script type="text/javascript" src="${ctx}/js/control/ccinfo.js"></script>
</head>
<body>
	<s:include value="/head.jsp"></s:include>
		<div class="invite_page" style="min-height: 600px;background: #C0D1DB;margin-top: 47px;">
			<!-- 中间部分 -->
			<table class="main" cellpadding="0" cellspacing="0" style="background: #fff;;margin: 40px auto;width: 1050px;border: 1px solid #96a6af;">
				<tr>
			        <!-- 左边主体  -->
			        <td class="center" style="padding: 0;width: 1050px;height: 400px;">
			        	<div class="widetopline"></div>
			        	<ul class="wideheadtitle">
			        		<li class="left"></li>
			        		<li class="title">
			        			<div class="info_title"><span>商家ID：</span><span id="cc_username"></span></div>
			        		</li>
			        		<li class="right"></li>
			        	</ul>
			        	<div class="widebottomline"></div>
			        	<table class="information" cellpadding="0" cellspacing="0" style="width: 100%;background: #eeeeee;">
			            	<tr>
			            		<td>
			                	<!-- 基本信息  -->            
			                    	<div class="info_base">
			                    		<div class="title">
				                			<span class="txt">基本资料</span>
				                			<a class="opt" onclick="ccinfotoedit(this);" id="cc_editbtn">编辑</a>
				                		</div>            	
				                        <ul class="line" id="ccinfo_ul">
				                            <li>
				                                <label>商家名称：</label>
				                                <span class="valbox" id="cc_name"></span>
				                            </li>
				                            <li >
				                                <label>商家地址：</label>
				                                <span class="valbox" id="cc_address">
				                                	
				                                </span>
				                            </li>
				                            <li>
				                                <label>商家网站：</label>
				                                <span class="valbox" id="cc_website"></span>
				                            </li>
				                            <li style="height: auto;">
				                                <label>简介：</label>
				                                <span class="valbox" id="cc_desc"></span>
				                            </li>
				                        </ul>
				                        <div class="title">
				                			<span class="txt">微信二维码</span>
				                		</div>
				                		<ul class="line">
				                			<li style="height: auto;">
				                				<form name="form1" id="form1" 
					                			method="post" action="userAjax!uploadDemisionCode.action"  
					                			enctype="multipart/form-data" target="hidden_frame">
						                		<div class="codeimg" >
						                			<img alt="上传二维码" src="${ctx }/image/demensioncodedefault.jpg" id="demensioncodeimg">
						                		</div>
						                		<input type="file" name="ccdemisionfile" style="display: none;" onchange="onUploadpicChange(this);"/>
						                		<a  class="codeupload" onclick="jQ(this).prev().click();" id="demensionuploadbtn"></a>
						                		<div class="uploading" id="demensionuploadingdiv">
						                			<span class="loadinggif"></span>
						                			<span class="loadingtxt">上传中，请稍后…</span>
						                		</div>
						                		<iframe name='hidden_frame' id="hidden_frame" style='display:none'></iframe>
						                		</form>
				                			</li>
				                		</ul>
				                		<div class="title">
				                			<span class="txt">绑定账号</span>
				                		</div>
				                		<ul class="line" style="margin-bottom: 100px;">
		                		
				                			<li class="separate" id="cc_isouter">
				                				<label>社交绑定：</label>
				                				
				                			</li>
				                		</ul>
			                    	</div>
			            		</td>
			                    <td width="350" id="ccemailcontent">
			                    	<div class="emailinfo" id="emailinfo_title">
			                    		<div class="infobox">
			                    			<p><b>绑定邮箱：</b>档期通知将发至邮箱</p>
			                    		</div>
			                    	</div>
			                	</td>
			                	<!-- 
			                	<td>
			                		<fieldset class="codeimg">
			                			<legend>商家二维码</legend>
			                			<form name="form1" id="form1" 
			                			method="post" action="userAjax!uploadDemisionCode.action"  
			                			enctype="multipart/form-data" target="hidden_frame">
				                		<div class="codeimg" >
				                			<img alt="上传二维码" src="${ctx }/image/demensioncodedefault.jpg" id="demensioncodeimg">
				                		</div>
				                		<input type="file" name="ccdemisionfile" style="display: none;" onchange="onUploadpicChange(this);"/>
				                		<a  class="codeupload" onclick="jQ(this).prev().click();" id="demensionuploadbtn"></a>
				                		<div class="uploading" id="demensionuploadingdiv">
				                			<span class="loadinggif"></span>
				                			<span class="loadingtxt">上传中，请稍后…</span>
				                		</div>
				                		<iframe name='hidden_frame' id="hidden_frame" style='display:none'></iframe>
				                		</form>
			                		</fieldset>
			                	</td>
			                	 -->
			                	<!-- 
			                	<td id="mobilelist">
			                		<fieldset class="bindmobile">
			                		<legend>手机绑定</legend>
			                		<ul>
			                			<li style="padding:0 0 10px 0; height: auto;">
			                				<div id="submitinfo" class="submitinfo" style="display: none;">
			                				</div>
			                			</li>
				                		<li>
					                		<span class="info_t">手机号：</span>
					                		<span class="mobilenum">
					                		<input type="hidden" id="orientmobilenum" />
					                		<input type="text" id="mobilenumipt" style="width: 85px; float: left;border: 0px; " onfocus="jQ('#submitinfo').fadeOut();"/>
					                		</span>
					                		<button class="btn editmode" id="sendCodebtn" style="margin-left: 10px;width: 86px;">发送验证</button>
				                		</li>
				                		<li class="editmode">
				                			<span class="info_t">验证码：</span>
						    				<span class="mobilenum">
						    					<input type="text" id="veript" style="width: 50px; float: left; " maxlength="6" onfocus="jQ('#submitinfo').fadeOut();"/>
						    				</span>
						    				<button class="btn" id="verifyCodebtn" style="margin-left: 43px; ">验证</button>
				                		</li>
				                		<li>
					                		<a onclick="editMobile(this);" id="modelchangebtn" style="display: none;">修改</a>
				                		</li>
			                		</ul>
			                		</fieldset>
			                	</td>
			                	 -->
			                </tr>
			            </table>
			        </td>
			        <!-- 左边主体  -->
				</tr>
			</table>
		</div>
		<!-- 中间部分结束 -->
		<s:include value="/foot.jsp"></s:include>
		<div style="display: none;" id="viewopt" title="提示">
			<img src="${ctx }/image/load.gif" style="display: none;margin-left: 120px;margin-top: 25px;" align="middle" id="viewopt_img"></img>
			<p style="text-indent: 30px;font-size:15px;line-height: 25px;" id="viewopt_p"></p>
		</div>
</body>
</html>